#!/bin/bash
find ./ -name "db" -type d | while read name;do newname=$(echo $name |sed 's/db/dbbak/g') ;echo $newname ; done
find ./ -name "db" -type d | while read name;do newname=$(echo $name |sed 's/db/dbbak/g') ;mv $name $newname ; done


